$(function () {  
    let u_name = localStorage.getItem("username");
    console.log(typeof u_name);
    let res = u_name.split("").splice(3,6,"******").join("");
    let r = u_name.replace(res,"******");
    console.log(r);
    
    $(".please_replace_login").text(r);
    $(".please_register").css({ 
        display:"none"
    })

    $(".top_bar_toggle").click(function(){
        $(".top_bar").slideUp("slow");
        
    })
})